home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d16 / nodee1a.arc / SOURCE.ARC / NOD1.H < prev    next >
Text File  |  1991-09-20  |  2KB  |  86 lines

  1. /* D:\PROGRAMS\CPP\NOD1.H 8/24/1991 12:34
  2.  
  3. This symbol header goes with
  4.     NODEE and NODCL
  5.  
  6. */
  7.  
  8.     #ifndef __NOD1_H
  9.     #define __NOD1_H
  10.  
  11.         #define MYVERSION "v1.1"
  12.         #define HELPFILE "nodee.hlp"
  13.         #define PRIVATEINI "nodee.ini"
  14.         #define MAXFULLFILE 12
  15.  
  16.         #define  IDM_OPT1     1
  17.         #define  IDM_OPT1A 3
  18.         #define  IDM_OPT1B 4
  19.         #define  IDM_OPT1C 7
  20.         #define  IDM_H1       2
  21.         #define  IDM_H1A     5
  22.         #define  IDM_H1B     6
  23.         #define  IDM_H1C   9
  24.  
  25.         #define MYCW_GOBUTTON 201
  26.         #define MYCW_FIRSTLINE 202
  27.         #define MYCW_FILELIST 203
  28.         #define MYCW_DIRLIST 204
  29.         #define MYCW_ICKBUTTON 205
  30.  
  31.         #define MYCW_DIRFIELD 900
  32.  
  33. /* Strings defined in the resource
  34. Since these are loaded in groups of
  35. 16, it makes since to give them
  36. hexadecimal numbers.  */
  37.  
  38.         #define IDS_CAPTION 0x00
  39.         #define IDS_APPNAME 0x01
  40.  
  41.         #define IDS_ERRORDEBUG 0x10
  42.  
  43. /* These are the dimensions of all the child windows */
  44.  
  45.         #define CXMYWINDOW 32*cxChar+2*GetSystemMetrics(SM_CXVSCROLL)
  46.         #define CYMYWINDOW 23*cyChar
  47.  
  48.         #define XDBOX 24*cxChar
  49.         #define YDBOX  cyChar*3/2
  50.         #define CXDBOX (strlen(text)+2)*cxChar
  51.         #define CYDBOX cyChar*7/4
  52.  
  53.         #define XGOBUTTON 19*cxChar
  54.         #define YGOBUTTON  cyChar*1
  55.         #define CXGOBUTTON (strlen(text)+3)*cxChar
  56.         #define CYGOBUTTON cyChar*2
  57.  
  58.         #define XFILETAG 1*cxChar
  59.         #define YFILETAG 0*cyChar
  60.  
  61.         #define XFILEFIELD 2*cxChar
  62.         #define YFILEFIELD cyChar*3/2
  63.         #define CXFILEFIELD 15*cxChar
  64.         #define CYFILEFIELD cyChar*7/4
  65.  
  66.         #define XDIRTAG 1*cxChar
  67.         #define YDIRTAG cyChar*6/2
  68.  
  69.         #define WIDTHDIRFIELD 30
  70.         #define XDIRFIELD 2*cxChar
  71.         #define YDIRFIELD cyChar*9/2
  72.         #define CXDIRFIELD 31*cxChar
  73.         #define CYDIRFIELD cyChar*7/4
  74.  
  75.         #define XFILELIST 2*cxChar
  76.         #define YFILELIST 7*cyChar
  77.         #define CXFILELIST 13*cxChar+GetSystemMetrics(SM_CXVSCROLL)
  78.         #define CYFILELIST 12*cyChar
  79.  
  80.         #define XDIRLIST 17*cxChar+GetSystemMetrics(SM_CXVSCROLL)
  81.         #define YDIRLIST 7*cyChar
  82.         #define CXDIRLIST 13*cxChar+GetSystemMetrics(SM_CXVSCROLL)
  83.         #define CYDIRLIST 12*cyChar
  84.  
  85.  
  86.     #endif